 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
   <%@page import="com.hero.core.constant.SysDicConstant"%>
 <%@ taglib prefix="pm" uri="http://heroj.cn/permissionTag"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<head>
<title>ReportAccessStorage</title>
 <script src="${cdnAddress}/js/boot.js${cacheVersion}" type="text/javascript"></script>
 <script src="${cdnAddress}/js/util.js${cacheVersion}" type="text/javascript"></script>
 <link href="${cdnAddress}/css/util.css${cacheVersion}" rel="stylesheet" type="text/css" />
 <link href="${cdnAddress}/css/common_view_seach_table.css${cacheVersion}" rel="stylesheet" type="text/css" />
</head>
<body>
<input type="hidden" id="projectName" value="${projectName}" />
<form id="ReportAccessStorageListForm" method="post">
 	 <input class="mini-hidden" id="ids" name="ids" value=""/> 	 
  <div>
        <div class="mini-toolbar" style="border-bottom:0;padding:0px;">
        <div id="formseach">
            <table style="width:100%;" class="commonTable">
          	 <tr class="commonTr">
           	 <td width="16%" align="right" bgcolor="#F7F7F7">分公司:</td><td><input  class="mini-comboBox"   id="branchOrgId" name="branchOrgId" textField="orgName" valueField="orgId" url="${projectName }/OrgAdmin/queryList?orgType=1" onvaluechanged="onChangeBranch"/></td>
           	 <td width="16%" align="right" bgcolor="#F7F7F7">办事处:</td><td><input  class="mini-comboBox"   id="officeOrgId" name="officeOrgId" textField="orgName" valueField="orgId" url="${projectName }/OrgAdmin/queryList?orgType=2"/></td>
           	 <td width="16%" align="right" bgcolor="#F7F7F7">操作人:</td><td><input  class="mini-textbox"   id="createUser" name="createUser" /></td>
           	 </tr><tr class="commonTr">
           	 <td width="16%" align="right" bgcolor="#F7F7F7">操作日期:</td><td><input    class="mini-datepicker"   id="updateTime" name="updateTime"  /></td>
           	 <td width="16%" align="right" bgcolor="#F7F7F7">设备名称:</td><td><input  class="mini-textbox"   id="equipmentName" name="equipmentName" /></td>
           	<td width="16%" align="right" bgcolor="#F7F7F7">仓库地点:</td><td><input  class="mini-buttonedit" allowInput="false" onbuttonclick="onSelectStoragePhy"   id="storagePhyId" name="storagePhyId" /></td>
           	 </tr><tr class="commonTr">
           	 <td width="16%" align="right" bgcolor="#F7F7F7">出入库类型:</td><td><input  class="mini-comboBox"   id="accessType" name="accessType"  url="${projectName }/DictionaryAdmin/queryDictionaryByTypeIds?typeids=59,60" textField="dicName" valueField="dicVal"/></td>
           	 <td width="16%" align="right" bgcolor="#F7F7F7">设备类型:</td><td><input  class="mini-comboBox"   id="equipmentTypeId" name="equipmentTypeId" textField="dicName" valueField="dicVal" url="${projectName }/DictionaryAdmin/queryDictionaryByTypeIds?typeids=<%=SysDicConstant.DIC_PARENT_VAL_53  %>"/></td>
             <td width="16%" align="right" bgcolor="#F7F7F7">仓库名称:</td><td><input  class="mini-buttonedit" allowInput="false" onbuttonclick="onSelectStorage"  id="storageId" name="storageId" /></td>
           	 </tr><tr class="commonTr">
           	 <td colspan="6" align="right"><a class="mini-button" iconCls="icon-undo" onclick="resetForm()">重置</a>&nbsp;&nbsp;&nbsp;&nbsp;<a class="mini-button" iconCls="icon-search" onclick="seachRow()">查询</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
           	 </tr> 
          	</table>   
            </div>        
        </div>
    </div>
</form> 
    <div>
     <div class="mini-toolbar" style="border-bottom:0;padding:0px;">
            <table style="width:100%;">
                <tr>
                 	<td style="width:100%;">
                 	 <pm:Permission moduleName="ReportAccessStorage">
<!--                    <a class="mini-button" id="addReportAccessStorage" iconCls="icon-add" onclick="addReportAccessStorage()">增加</a>
                        <a class="mini-button" id="editReportAccessStorage" iconCls="icon-edit" onclick="editReportAccessStorage()">编辑</a>
                        <a class="mini-button" id="removeReportAccessStorage" iconCls="icon-remove" onclick="removeReportAccessStorage()">删除</a>
                        <a class="mini-button" id="freezeReportAccessStorage" iconCls="icon-lock" onclick="freezeReportAccessStorage()">冻结</a>     
                        <a class="mini-button" id="freeReportAccessStorage" iconCls="icon-unlock" onclick="freeReportAccessStorage()">解冻</a>            
                        <a class="mini-button" id="importReportAccessStorage" iconCls="icon-upload" onclick="importReportAccessStorage()">导入</a>   -->
                        <a class="mini-button" id="viewReportAccessStorageBarcode" iconCls="icon-download" onclick="viewReportAccessStorageBarcode()" width="90px">查看条码</a>          
                        <a class="mini-button" id="exportReportAccessStorage" iconCls="icon-download" onclick="exportReportAccessStorage()">导出</a>            
                		<!-- <a class="mini-button" id="viewReportAccessStorageDetail" iconCls="icon-download" onclick="viewReportAccessStorageDetail()" width="90px">查看详情</a>	-->        
                     </pm:Permission>
                    </td>
                     
                </tr>
            </table>           
        </div>
    </div>
   <div class="mini-fit" style="height:100px;">
  <div id="ReportAccessStorageGrid" class="mini-datagrid" style="width:100%;height:100%;" 
        url="${projectName}/ReportAccessStorageAdmin/List"  idField="id"   sizeList="[10,20,30,50]" pageSize="30" multiSelect="true" >
        <div property="columns">
            <div type="checkcolumn"></div> 
            <div field="id"  visible="false"
           >主键</div>
            <div field="branchOrgId"  visible="false"
           >分公司ID</div>
            <div field="branchOrgName" 
           >分公司名称</div>
            <div field="officeOrgId"   visible="false"
           >办事处ID</div>
            <div field="officeOrgName" 
           >办事处名称</div>
           <div field="businessId" 
           >业务单号</div>
            <div field="accessTypeName" 
           >出入库类型</div>
            <div field="storagePhyId"   visible="false"
           >物理仓ID</div>
             <div field="storagePhyName" 
           >仓库地点</div>
            <div field="storageId"  visible="false"
           >逻辑仓ID</div>
            <div field="storageName" 
           >仓库名称</div>
            <div field="equipmentTypeName" 
           >设备类型</div>
             <div field="equipmentName" 
           >设备名称</div>
            <div field="equipmentTypeId"  visible="false"
           >设备类型ID</div>
            <div field="quantity" 
           >设备数量</div>
            <div field="createUser" 
           >操作人</div>
            <div field="createUserId"  visible="false"
           >操作人ID</div>
            <div field="accessTime" dateFormat="yyyy-MM-dd HH:mm:ss"
           >出入库时间</div>
             <div field="updateTime" 
           dateFormat="yyyy-MM-dd">操作日期</div>
        </div>
    </div> 

    </div>
<script src="${scripts}/reportaccessstorage/ReportAccessStorageList.js${cacheVersion}" type="text/javascript"></script>
</body>

</html>